package cn.fintecher.pangolin.service.manage.request;

import cn.fintecher.pangolin.common.enums.BaseStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Auther: xiaqun
 * @Description: 新增部门请求
 * @Date: 16:45 2019/8/14
 */

@Data
public class AddDepartmentRequest {
    @ApiModelProperty(value = "机构名称")
    @NotNull(message = "department.name.is.required")
    private String name;

    @ApiModelProperty(value = "父级机构ID")
    @NotNull(message = "department.parent.is.required")
    private String parentId;

    @ApiModelProperty(value = "机构状态")
    @NotNull(message = "department.name.is.required")
    private BaseStatus status;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "联系人")
    private String contact;

    @ApiModelProperty(value = "联系电话")
    private String contactNo;
}
